Learn R Programming

EvCombR (version 0.1-2)

[[<--methods: Methods for Function [[<-

Description

Replace part of an evidence structure

Arguments

Methods

signature(x="mass", i="character", j="missing", value="ANY")
Replace focal element(s)

Examples

Run this code
# construct a state space
stateSpace <- c("a", "b", "c")

# mass function 
m <- mass(list("a"=0.1, "b"=0.1 , "c"=0.4, "a/b/c"=0.4), stateSpace)  

# obtain value only
m[["a"]]

Run the code above in your browser using DataLab